package hvz.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ZombieMissionsActivity extends Activity {
	
	private Button cancelBtn;
	private Button mondayBtn;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.zombie_missions_activity);
        
        cancelBtn = (Button)findViewById(R.id.missionCancel);
        mondayBtn = (Button)findViewById(R.id.day1);
        
        cancelBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				Intent nextScreen = new Intent(getApplicationContext(),
						ZombieActivity.class);
				startActivity(nextScreen);
				finish();
				
			}
		});
        
        mondayBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				Intent nextScreen = new Intent(getApplicationContext(),
						SampleMission.class);
				startActivity(nextScreen);
				finish();
				
			}
		});
	}

}
